package br.ufrn.engcomp.arq.messages;

/**
 * 
 * @author Claudio
 * 
 */
import java.util.ResourceBundle; 

public abstract class MessagesControl { 
	private static ResourceBundle messages; 
	
	public MessagesControl() { 
		messages = ResourceBundle.getBundle("br/ufrn/engcomp/arq/bundle/messages"); 
	} 
	 
	protected String getMessage(String typeMessage) { 
		return messages.getString(typeMessage); 
	} 
	
	public abstract void addMessage(String message); 
	
}